from pydash.collections import reduce_


def pipeline(seed, *funcs):
    return reduce_(funcs, lambda result, func: func(result), seed)
